package api.doctor;

import java.io.IOException;
import org.json.JSONException;
import common.Host;
import common.Request;

/**
 * 实现帮忙医医生获取多份报告PCReportQuery接口调用
 * @author lipeng
 *
 */
public class PCReportQuery {
	/**
	 * 帮忙医医生端获取多份报告PCReportQuery接口
	 * @param token
	 * @param userId
	 * @param isSearch
	 * @return
	 * @throws IOException
	 * @throws JSONException
	 */
     public static String  get(String token,String userId,String isSearch)throws IOException,JSONException {
		//拼接口地址
    	String url = Host.getAddress()+"/api/PCReportQuery"+"?userId="+userId+"&isSearch="+isSearch;
    	 
       //调用接口并返回接口结果
  	   String result = Request.get(url, null,token);
  	   return result ;
	}
}
